package com.xxgc.eow.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 企业题目
 * </p>
 *
 * @author Mr.Abel
 * @since 2023-06-04
 */
@Getter
@Setter
@Schema(name = "Companytopic", description = "企业题目")
public class Companytopic implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "题目id")
    private Integer topicLibraryId;

    @Schema(description = "企业id")
    private Integer companyId;

    @Schema(description = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @Schema(description = "销毁时间")
    private LocalDateTime destroyTime;

    @Schema(description = "假删除状态")
    private Integer tip;

    private List<Topiclibrary> topiclibraries;

    private List<Companypost> companyposts;

    public Integer getTopicLibraryId() {
        return topicLibraryId;
    }

    public void setTopicLibraryId(Integer topicLibraryId) {
        this.topicLibraryId = topicLibraryId;
    }

    public Integer getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Integer companyId) {
        this.companyId = companyId;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public LocalDateTime getDestroyTime() {
        return destroyTime;
    }

    public void setDestroyTime(LocalDateTime destroyTime) {
        this.destroyTime = destroyTime;
    }

    public Integer getTip() {
        return tip;
    }

    public void setTip(Integer tip) {
        this.tip = tip;
    }

    public List<Topiclibrary> getTopiclibraries() {
        return topiclibraries;
    }

    public void setTopiclibraries(List<Topiclibrary> topiclibraries) {
        this.topiclibraries = topiclibraries;
    }

    public List<Companypost> getCompanyposts() {
        return companyposts;
    }

    public void setCompanyposts(List<Companypost> companyposts) {
        this.companyposts = companyposts;
    }
}
